﻿package com.crl.core.config.section
{
	import flash.utils.Dictionary;
	
	/**
	 * ...
	 * @author crl
	 */
	public class AppSetttingSection extends AbstractSection
	{
		public var keyvalus:Dictionary;
		public function AppSetttingSection() 
		{
			keyvalus = new Dictionary();
		}
		
		override public function deserializeSection(xml:XML):void{
			var xmlList:XMLList = xml.children();
			
			var key:String;
			var value:String;
			for each(var item:XML in xmlList) {
				key = item.@key;
				value = item.@value;
				
				keyvalus[key] = value;
			}
			
			//return keyvalus;
		}
		
		
		override public function getRuntimeObejct():Object 
		{
			return this.keyvalus;
		}
		
	}

}